export const mockRes = function (data) {
  return {
    code: 200,
    data
  }
}

export const mockErr = function () {
  return {
    code: 400,
    message: '请求失败'
  }
}
